'''
Created on Nov 12, 2011

@author: Victor Bos
'''

import Tkinter

class AreaEditor(Tkinter.Frame):


    def __init__(self, parent):
        Tkinter.Frame.__init__(self, parent)
        self.visible = False
        self.info_label = Tkinter.Label(self)
        self.info_label.pack(side=Tkinter.TOP,
                             fill=Tkinter.X,
                             expand=Tkinter.TRUE)
        self.info_label["height"] = 1
        self.info_label["text"] = "Editing areas"

        self.name_textvariable = Tkinter.StringVar()
        self.name_textvariable.set("")
        self.name_entry = Tkinter.Entry(
                                        self, 
                                        state=Tkinter.NORMAL,
                                        textvariable=self.name_textvariable)
        self.name_entry.pack(side=Tkinter.TOP, fill=Tkinter.X)
